﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RecorderData
{
    public class Recorder
    {
        private Analog[] alarm;
        private string gpsLocation;
        private DateTime lastOnline;
        private int errors;

        public Recorder(Analog[] alarm, string gpsLocation, DateTime lastOnline, int errors)
        {
            this.alarm = alarm;
            this.gpsLocation = gpsLocation;
            this.lastOnline = lastOnline;
            this.errors = errors;
        }

        public Analog[] getAlarms()
        {
            return alarm;
        }

        public string getGPSLocation()
        {
            return gpsLocation;
        }

        public DateTime getLastOnline()
        {
            return lastOnline;
        }

        public int getErrors()
        {
            return errors;
        }
    }
}
